package com.lazycat.backend.controller.account;

import com.lazycat.backend.service.impl.account.DeleteUserServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class DeleteUserController {
    @Autowired
    private DeleteUserServiceImpl deleteUserService;

    @PostMapping("user/delete/")
    public void delete(@RequestBody Map<String, Object> map) {
        deleteUserService.delete(map);
    }
}
